package com.huangliusong.desigin.pattern.creational.singleton;

/**
 * @author huangliusong
 * @since 2018/10/10
 * {@link }
 */
public enum  EnumInstance {
    INSTANCE;
    private Object data;


    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static EnumInstance getInstance(){
        return INSTANCE;
    }


}
